# 指定基础镜像
FROM alpine:latest
RUN echo "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/main/" > /etc/apk/repositories
 
RUN apk update \
 && apk upgrade \
 && apk add --no-cache bash git openssh \
 && rm -rf /var/cache/apk/* 
ADD script/clone.sh /usr/local/bin/
ENTRYPOINT ["sh"]
CMD ["/usr/local/bin/clone.sh"]
